package com.ruoyi.service;

import com.ruoyi.domain.OrderPaymentVO;
import com.ruoyi.domain.OrdersPaymentDTO;

public interface OrderService {

    /**
     * 订单支付
     * @param ordersPaymentDTO
     * @return
     */
    OrderPaymentVO payment(OrdersPaymentDTO ordersPaymentDTO) throws Exception;

    /**
     * 支付成功，修改订单状态
     * @param outTradeNo
     */
    void paySuccess(String outTradeNo);

}
